# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
from tester.models import IXIA,Spirent

# Register your models here.
class IXIAAdmin(admin.ModelAdmin):
    list_display = ('Chassis_IP','Chassis_Name','Type','Location','SN','Version','Comment')
    list_display_links = ('Chassis_IP','Chassis_Name')
    list_filter = ('Type','Version')
admin.site.register(IXIA,IXIAAdmin)


class SpirentAdmin(admin.ModelAdmin):
    list_display = ('Chassis_IP','Chassis_Name','Type','Location','SN','Version','Comment')
    list_display_links = ('Chassis_IP','Chassis_Name')
    list_filter = ('Type','Version')
admin.site.register(Spirent,SpirentAdmin)

